{% extends "base.html" %}

{% block content %}

<h2>{% block title %}Order Details{% endblock %}</h2>

{% if order %}
    {% include "order_status.html" %}
    {% with order.shipping_address as shipping_address %}
        {% with order.phonenumber as phonenumber %}
            {% include "order_shipping.html" %}
        {% endwith %}
    {% endwith %}
    {% include "order_details.html" %}
{% endif %}

<p>View all of your <a href="{% url shop.views.orders.show_orders %}">orders</a>.</p>

{% endblock %}
